<?

include_once "accesscontrol.php";
include_once "index.php";
include_once "navigation.html";


$sb = "select * from job_banners_t";
$rsb = mysql_query($sb) or die(mysql_error());
while($ab = mysql_fetch_array($rsb))
{
	echo "<table align=center width=460 border=1 cellpadding=3 cellspacing=0 bordercolor=black class=BlackLink>";
	echo "<tr><td align=center><img src=\"../banners/$ab[fn]\" alt=\"$ab[alt]\"></td></tr>";
	echo "<tr><td class=TD_links>Banner ID: $ab[b_id] (<a href=\"del_ban.php?b_id=$ab[b_id]&fn=$ab[fn]\" class=TNA>delete</a>)<br>File name: $ab[fn]</td></tr>";
	echo "</table><br>";
}

if(ereg("manage_banners.php", $_SERVER[REQUEST_URI]))
{
	include_once('../footer.php'); 
}

?>